package tezhongbing;

import java.util.Random;
/**
 * 两个正整数进行与运算，得到的结果一定不大于两个正整数中最小的那个。
 * @author sunniwell
 *
 */
public class YuYunSuan {
	public static void main(String[] args) {
		Random random = new Random();
		int a = random.nextInt(1000);
		int b = random.nextInt(1000);
		System.out.println(a+","+b);
		System.out.println((a & b) <= Math.min(a, b));
	}
}
